<%@ Control Language="C#" %>
<%@ Import Namespace="CommunityServer" %>
<%@ Import Namespace="CommunityServer.Components" %>

<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<span id="RateButton" style="cursor:hand"><a href="javascript: void(0);" onclick="ToggleRateMenu();">add vote</a></span>
<table style="position:absolute;display:none;visibility:hidden;" id="RateMenu" class="tableBorder" cellpadding="5" cellspacing="0">
    <tr>
      <td colspan="2" class="column">
        <b><CS:ResourceLabel runat="server" ResourceName="PostRating_Rate" /></b>
      </td>
    </tr>
    <tr>
        <td>
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star0.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Zero")%>'>
        </td>
        <td class="txt3">
          <asp:linkbutton id="RateZero" runat="server" />
        </td>
    </tr>

    <tr>
        <td>
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star1.gif" %>' alt='<%=ResourceManager.GetString("PostRating_One")%>'>
        </td>
        <td class="txt3">
          <asp:linkbutton id="RateOne" runat="server" />
        </td>
    </tr>

    <tr>
        <td>
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star2.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Two")%>'>
        </td>
        <td class="txt3">
          <asp:linkbutton id="RateTwo" runat="server" />
        </td>
    </tr>

    <tr>
        <td>
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star3.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Three")%>'>
        </td>
        <td class="txt3">
          <asp:linkbutton id="RateThree" runat="server" />
        </td>
    </tr>

    <tr>
        <td>
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star4.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Four")%>'>
        </td>
        <td class="txt3">
          <asp:linkbutton id="RateFour" runat="server" />
        </td>
    </tr>

    <tr>
        <td>
          <img src='<% =Globals.GetSkinPath() + "/images/common/Star5.gif" %>' alt='<%=ResourceManager.GetString("PostRating_Five")%>'>
        </td>
        <td class="txt3">
          <asp:linkbutton id="RateFive" runat="server" />
        </td>
    </tr>
</table>